package com.redtea.studyspringboot.domain.bo;

import com.baomidou.mybatisplus.annotation.*;
import com.redtea.studyspringboot.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: StudySpringBoot
 * @ClassName UserInfoBo
 * @author: LGP
 * @create: 2024-04-17 13:52
 * @description: 新增用户信息入参
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tab_user")
public class UserInfoBo extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String userName;
    @TableField("pwd")
    private String password;
    private String nickName;
    private String avatorUrl;
    private Integer age;
    private String phone;
    private Long deptId;
    @TableLogic
    private byte isDel;
}
